﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SilverPOP.Library.BusinessEntities
{
    public class DatabaseInfo
    {
        public long ID { get; set; }
        public String Name { get; set; }
        public int ContactCount { get; set; }
        public int OptOutCount { get; set; }
        public int UndeliverableCount { get; set; }
        public String ErrorMessage { get; set; }

        public DatabaseInfo() { }

        public DatabaseInfo(long id,String name,int contactCount,int optOutCount,int undeliverableCount)
        {
            this.ID = id;
            this.Name = name;
            this.ContactCount = contactCount;
            this.OptOutCount = optOutCount;
            this.UndeliverableCount = undeliverableCount;
        }

        public DatabaseInfo(long id,String errorMessage)
        {
            this.ID = id;
            this.ErrorMessage = errorMessage;
        }

    }
}
